<template>
  <div>
    <van-nav-bar title="红包">
      <template #left>
        <van-icon size="18" name="arrow-left" @click="goback" />
      </template>
    </van-nav-bar>
    <div class="content">
      <h1>我是红包界面</h1>
    </div>
  </div>
</template>

<script>
export default {
  name: "redpacket",
  data() {
    return {};
  },
  mounted() {},
  methods: {
    goback() {
      this.$router.go(-1);
    },
  },
};
</script>

<style scoped>
.van-icon {
  color: black;
}

/deep/.van-nav-bar__content {
  background-color: rgb(231, 231, 231);
}

.content {
    text-align: center;
}

</style>